package com.example.lottery.common.errorcode;

public interface ControllerErrorCodeConstants {
    /**
     * 用户模块错误码
     */
    ErrorCode REGISTER_ERROR=new ErrorCode(100,"注册失败");

    ErrorCode LOGIN_ERROR=new ErrorCode(101,"登陆失败");
    ErrorCode USER_IDENTITY_ENUM_ERROR=new ErrorCode(102,"用户身份非法");

    ErrorCode USER_LIST_ERROR=new ErrorCode(103,"获取用户列表失败");
    /**
     * 奖品模块错误码
     */
    ErrorCode PRIZE_CREATE_ERROR=new ErrorCode(200,"奖品创建失败");
    ErrorCode PRIZE_FIND_LIST_ERROR=new ErrorCode(201,"奖品展示失败");
    /**
     * 活动模块错误码
     */
    ErrorCode ACTIVITY_CREATE_ERROR=new ErrorCode(300,"活动创建失败");
    ErrorCode ACTIVITY_FIND_ERROR=new ErrorCode(301,"活动列表查询失败");
    ErrorCode ACTIVITY_DETAIL_FIND_ERROR=new ErrorCode(302,"活动详情查询失败");

    /**
     * 抽奖模块错误码
     */
    ErrorCode DRAW_PRIZE_SHOW_RECORDS_ERROR=new ErrorCode(400,"显示中奖信息失败");

}
